package com.cx.service.serviceimp;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.cx.mapper.ParamsMapper;
import com.cx.entity.Params;
import com.cx.service.ParamsService;
@Service
public class ParamsServiceImpl implements ParamsService{

    @Resource
    private ParamsMapper paramsMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return paramsMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Params record) {
        return paramsMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(Params record) {
        return paramsMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(Params record) {
        return paramsMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(Params record) {
        return paramsMapper.insertSelective(record);
    }

    @Override
    public Params selectByPrimaryKey(Integer id) {
        return paramsMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Params record) {
        return paramsMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Params record) {
        return paramsMapper.updateByPrimaryKey(record);
    }

    @Override
    public int updateBatch(List<Params> list) {
        return paramsMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<Params> list) {
        return paramsMapper.batchInsert(list);
    }

}
